﻿using System.Web;
using System.Web.Optimization;

namespace KLY_Webs
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-1.8.3.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/common").Include(
                      "~/Scripts/common.js"));

            bundles.Add(new ScriptBundle("~/bundles/homecontrol").Include(
                      "~/Scripts/Controller/HomeController.js"));

            bundles.Add(new ScriptBundle("~/bundles/jeasyui").Include(
                     "~/Scripts/jquery.easyui.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/accountcontrol").Include(
                     "~/Scripts/Controller/AccountController.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/core.css", new CssRewriteUrlTransform()).Include(
                      "~/Content/style.css", new CssRewriteUrlTransform()
                      ));
        
        }
    }
}
